<template>
  <div class="bar-card">
    <div class="bar-card__header">
      <div class="bar-card__logo">
        <img src="@/assets/resAndBar/Istros.png" alt="Bar logo" />
      </div>
      <h3 class="bar-card__title">Istros</h3>
    </div>
    <div class="bar-card__details">
      <p class="bar-card__category">Bar</p>
      <p class="bar-card__opening-hours">4:00 pm - 12:00 am</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "ResortBarCard",
};
</script>

<style lang="scss" scoped>
.bar-card {
  background: red;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  border: 1px solid #cdcccc;
  box-sizing: border-box;
  gap: 12px;

  &__header {
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  &__logo {
    width: 100px;
    height: 100px;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  &__title {
    font-size: 28px;
    font-weight: 600;
    color: #232323;
    margin: 0;
  }

  &__details {
    margin-left: 30px;
    margin-top: 15px;
  }

  &__category {
    font-size: 22px;
    margin-bottom: 10px;
    margin-top: 0;
  }

  &__opening-hours {
    font-size: 18px;
    color: #313131;
    margin: 0;
  }
}
</style>